 
#pragma mark ------------------------------- 屏幕


#define kDeviceHeight [UIScreen mainScreen].bounds.size.height
#define kDeviceWidth  [UIScreen mainScreen].bounds.size.width
#define getRightView(view) view.frame.size.width+view.frame.origin.x
#define getBottomView(view) view.frame.size.height+view.frame.origin.y
#pragma mark ------------------------------- ///** 抽屉视图高度 */
#define ACNavBarDrawer_scene_Height kDeviceHeight-64-44-40


#pragma mark -------------------------------  获得颜色
#define kGetColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1]

#pragma mark -------------------------------  加载nib文件
#define LOAD_NIB(_NibName_) [[NSBundle mainBundle] loadNibNamed:_NibName_ owner:nil options:nil][0]
#pragma mark -------------------------------  /**字体*/
#define FONT(size)                                     [UIFont systemFontOfSize:size]
#pragma mark -------------------------------  /**每页数据量*/
#define PageSize   10

#define UmengAppkey @"5664fedbe0f55a03eb0016dd"     //友盟key

#pragma mark -------------------------------  数据库
//购物车
#define k_DB_NAME                    @"PeopleStreet.sqlite"

#define CORT_TABLENAME               @"SX_ShoppingCart"
#define CORT_NAME                    @"productCartName"
#define CORT_Id                      @"productCartId"
#define CORT_ImageName               @"productCartImageName"
#define CORT_Price                   @"productCartPrice"
#define CORT_Count                   @"productCartCount"
#define CORT_Norms                   @"productNorms"
#define CORT_NormsValue              @"productNormsValue"
//收藏
#define COLLECT_TABLENAME            @"SX_ProductCollect"
#define COLLECT_discount             @"productDiscount"   //折扣
#define COLLECT_BuyCount             @"productBuyCount"   //购买人数
//  登录 KEY
#define UserInfo                                  @"userinfo_userinfo"
#pragma mark -------------------------------  分享地址
#define QW_SHARE_ADRESS                    @"http://qw.lionkeji.com/download.html"
//-------------------------------------------键
#define Key_User_nickname                         @"nickname"    //昵称
#define Key_User_password                         @"password"  //用户密码
#define Key_User_userId                           @"userId"      //用户id
#define Key_User_score                            @"score"    //积分
#define Key_User_sex                              @"sex"    //性别
#define Key_User_company                          @"company"    //公司编号
#define Key_User_onlineKey                        @"onlineKey"    //在线key
#define Key_User_fanNum                           @"fanNum"    //粉丝数量
#define Key_User_orderNum                         @"orderNum"    //订单数量
#define Key_User_ischeck                          @"ischeck"    //认证类型
#define Key_User_status                           @"status"    //是否认证
#define Key_User_head                             @"head"    //用户头像
#define Key_User_Phone                            @"phone"    //电话号码
//点菜类型选择
#define   Notification_SearchFreshTypeChoice        @"SearchFreshTypeChoice"
//点菜排序选择
#define   Notification_SearchFreshSortChoice        @"SearchFreshSortChoice"
//套餐类型 6 精品5
#define   Notification_ProductTypeChoice            @"ProductTypeChoice"
//图库点击小图片图片下标传递
#define   Notification_TransmitPhotoIndex            @"TransmitPhotoIndex"
//图库滑动大图图片下标传递
#define   Notification_TransmitBigPhotoIndex         @"TransmitBig PhotoIndex"
//产品页跳转购物车页面
#define   Notification_ProductGotoBasketPage        @"ProductGotoBasketPage"
//跳转我的订单
#define   Notification_ProductGotoMyOrderPage       @"ProductGotoMyOrderPage"
